package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 排班信息表
 * </p>
 *
 * @author L
 * @since 2023-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("his_scheduling")
public class Scheduling implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 医生ID
     */
    private Long userId;

    /**
     * 科室ID
     */
    private Long deptId;

    /**
     * 值班日期
     */
    private String schedulingDay;

    /**
     * 排班时段1上午  2下午 3晚上 字典表数据翻译
     */
    private String subsectionType;

    /**
     * 排班类型1 门诊 2 急诊 字典表数据翻译
     */
    private String schedulingType;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 创建者
     */
    private String createBy;


}
